package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserExtendDao;
import com.appkubes.mall.core.entity.MallUserExtend;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserExtendService extends AbstractBaseService<BaseMallUserExtendDao, MallUserExtend> {

    MallUserExtend getOneByEntity(MallUserExtend entity);

    List<MallUserExtend> selectListByEntity(MallUserExtend entity);

    IPage<MallUserExtend> selectPageByEntity(IPage<MallUserExtend> page);
    IPage<MallUserExtend> selectPageByEntity(PageVO pageVO);

    IPage<MallUserExtend> selectPageByEntity(MallUserExtend entity, IPage<MallUserExtend> page);
    IPage<MallUserExtend> selectPageByEntity(MallUserExtend entity, PageVO pageVO);

    IPage<MallUserExtend> selectPageByEntity(MallUserExtend entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserExtend entity);
}
